package com.grantz.function.bbs.core.inter;

import java.util.Optional;

import org.springframework.data.domain.Page;

import com.grantz.function.bbs.core.entity.GroupDetail;
import com.grantz.model.bbs.GroupDetailModel;
import com.grantz.model.bbs.GroupDetailSearch;
import com.grantz.models.base.element.page.ElementPage;

public interface GroupDetailService {
	
	Page<GroupDetail>   queryPage(GroupDetailSearch query)throws Exception;

	ElementPage<GroupDetailModel> queryElementPage(GroupDetailSearch query) throws Exception;

	GroupDetail save(GroupDetail entity);

	Optional<GroupDetail> findOneById(String id);

}
